package com.lifeng.springevent;

import org.springframework.context.ApplicationEvent;

import com.lifeng.domain.UserBean;

/**
 * Created by lifeng on 2019/8/5.
 * 定义事件 注意也可以不继承ApplicationEvent
 */
public class SubmitOrderEvent{
    
	private String id;
    private UserBean user;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public UserBean getUser() {
        return user;
    }

    public void setUser(UserBean user) {
        this.user = user;
    }
}
